package com.etone.smartAudit.dto.fileOperation;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/11/4
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(description = "新建文件表单")
public class FileMakeDTO {

    @ApiModelProperty("目录路径")
    @NotEmpty
    private String path;

    @ApiModelProperty("文件名称")
    private List<String> names;
}
